<script>
	import {
		mapState,
		mapActions
	} from 'vuex'
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.initLoginState()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			...mapActions('user', ['initLoginState'])
		},
	}
</script>

<style lang="scss">
	@import "@/uni_modules/uview-ui/index.scss";
	@import "@/static/css/iconfont.css";

	page,
	.content,
	.main {
		font-size: $uni-font-size-base !important;
		background-color: $uni-bg-color;
		color: #ffffff;
	}
	.textHideS {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.textHide {
		overflow: hidden;
		text-overflow:ellipsis;
		white-space: nowrap;
	}
	.light-btn {
		text-decoration: none;
		font-size: 24rpx;
		background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
		background-size: 400%;
		width: 250rpx;
		height: 80rpx;
		line-height: 80rpx;
		color: #fff;
		text-align: center;
		text-transform: uppercase;
		border-radius: 50px;
	}
	
	.textRight{
		text-align: right;
	}
	/*每个页面公共css */
	.ipx {
		position: relative;
	}

	.ipx:after {
		content: " ";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 1px;
		background-color: #DCDFE6;
		/* 如果不用 background-color, 使用 border-top:1px solid blue; */
		-webkit-transform: scaleY(.5);
		transform: scaleY(.5);
	}
</style>
